import Mock from 'mockjs'
import index from './Tongji/index'//在这里引入统计数据文件
import VipTable from './Vip/Tables'
import { registered, loginApi, getUserRole, saijieApi } from "./Zhuce/index"
import XinKai from "./XinKai/index"
import { test } from "./Drug/index"
// 测试
import TEST from "./TEST/index"

Mock.mock(/\/MockList/, 'get', VipTable.MockList) //获取伪后台数据
Mock.mock(/\/del/, 'post', VipTable.MockListDel) //删除伪后台数据
Mock.mock(/\/add/, 'post', VipTable.MockListAdd) //删除伪后台数据
Mock.mock(/\/ddelAll/, 'post', VipTable.MockListDelAll) //全部删除伪后台数据


Mock.mock(/\/registered/, 'post', registered) //注册
Mock.mock(/\/loginApi/, 'post', loginApi) //登录

Mock.mock(/\/saijie/, 'post', saijieApi) //测试

Mock.mock(/\/ChengSaiJie/, 'get', TEST.MockList)

Mock.mock(/\/getUserRole/, 'post', getUserRole)

//添加药品
Mock.mock(/\/addDrugs/, 'post', test)

// 统计列表
Mock.mock(/\/tongjiget/, 'post', index.gettongj)

// 润刚
Mock.mock(/\/HomeList/, 'get', XinKai.HomeList) 